{% extends 'starter.html' %}

{% block title %}
        <h1>
          {{ label }}
        </h1>
{% endblock %}

{% block content %}


  <form class="form-horizontal" novalidate method="post">
    {% csrf_token %}
    {% for field in customer_form %}
      <div class="form-group">
          <label for="{{ field.id_for_label }}" class="col-sm-2 control-label">{{ field.label }}</label>
          <div class="col-sm-6">
            {{ field }}
          </div>
          <div class="col-sm-4">
            {{ field.errors.0 }}
          </div>
        </div>
    {% endfor %}
    <button class="btn btn-success">提交</button>

  </form>


{% endblock %}









